import java.util.PriorityQueue;

public class Text {
    public static void main(String[] args) {
        MyPriorityQueue myPriorityQueue = new MyPriorityQueue();
        int[] array = new int[] {27,15,19,18,28,34,65,49,25,37};
        myPriorityQueue.initElem(array);
        myPriorityQueue.creatHeap();
        myPriorityQueue.push(80);
        System.out.println(myPriorityQueue.pop());
    }
}
